﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using GeckoPhotos.Models;

namespace GeckoPhotos.Repository
{
    //public interface IUserRepository
    //{
    //    User GetByUsernameAndPassword(string username, string password);

    //    User Update(User user);

    //    IEnumerable<User> GetUsers();

    //    User GetById(int userId);
    //}

    public interface IUserRepository : IRepository<int, User>
    {
        User SingleWithMessages(Func<User, bool> query);
    }

}
